import request from '@/utils/request'


export function withdrawList(query) {
    return request({
        url: '/WalletVue/GetWithdrawList',
        method: 'get',
        params: query
    })
}


export function drawDetail(id) {
    return request({
        url: '/WalletVue/GetWithdrawDetails',
        method: 'get',
        params: { paymentId:id }
    })
}


export function updateWithdrawStatus(data) {
    return request({
        url: '/WalletVue/WithdrawProcess',
        method: 'post',
        data
    })
}
